package com.umer.pinban.base;

import android.content.Intent;
import com.common.base.fragment.BaseFragment;
import com.umer.pinban.user.LoginActivity;

public abstract class BasicFragment extends BaseFragment {

    @Override
    public void onReLogin() {
        super.onReLogin();
        Intent i = new Intent(getActivity(), LoginActivity.class);
        i.putExtra("flag",3);
        //i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP );
        startActivity(i);
        getActivity().finish();
    }
}
